package com.briup.cms.bean;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * category
 * @author 
 */
@Table(name="category")
@Data
@Entity
public class Category implements Serializable {
    @Id
    private String id;

    private String name;

    private String description;

    @Column(name = "parent_id")
    private String parentId;

    private static final long serialVersionUID = 1L;
}